package com.uam.core.entity;

import lombok.Data;

/**
 * @author Administrator
 */

@Data
public class PointInfoData {
    private long time;
    private double lon;
    private double lat;
    private double height;
    private String timeStr;
    private int index;
    private  long nextTime;
    private Integer taskId;
    private double speed;
    private long endTime;

    private Double buffer;

    private double last_position_distance = 0.00D;

    /**
     * 飞行间距
     */
    private double flightInterval= 0.00D;

    private double safeDistance = 0.00D;
    private String taskName;
    private String id;

    public PointInfoData(long time, double lon, double lat, double height, int index,double last_position_distance,String taskName,String id) {
        this.time = time;
        this.lon = lon;
        this.lat = lat;
        this.height = height;
        this.index=index;
        this.last_position_distance=last_position_distance;
        this.taskName=taskName;
        this.id=id;
    }
    public PointInfoData(long time,
                         double lon,
                         double lat,
                         double height,
                         int index,
                         int taskId,
                         double safeDistance,
                         double speed,
                         long endTime,
                         double buffer,double flightInterval,String taskName,String id) {
        this.time = time;
        this.lon = lon;
        this.lat = lat;
        this.height = height;
        this.taskId=taskId;
        this.index=index;
        this.safeDistance=safeDistance;
        this.speed=speed;
        this.endTime=endTime;
        this.buffer=buffer;
        this.flightInterval=flightInterval;
        this.taskName=taskName;
        this.id=id;
    }
}
